package com.dg.river.netty.axle.msg2dev;

/**
 * Created by zhangguohua on 2017/6/1.
 * POS透传的消息报文
 */
public class DevMsg {
    /**报文头*/
    private DevMsgHead header;
    /**报文体*/
    private Object body;


    public DevMsgHead getHeader() {
        return header;
    }

    public void setHeader(DevMsgHead header) {
        this.header = header;
    }

    public Object getBody() {
        return body;
    }

    public void setBody(Object body) {
        this.body = body;
    }

    @Override
    public String toString() {
        return "DevMsg {" +
                "header=" + header +
                ", body=" + body +
                '}';
    }

    public DevMsg() {
    }
}
